home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cptts2.z / cptts2
Encoding:
Text File  |  2002-10-03  |  3.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCPPPPTTTTTTTTSSSS2222((((3333SSSS))))                                                          CCCCPPPPTTTTTTTTSSSS2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CPTTS2 - solve a tridiagonal system of the form A * X = B using the
  10.      factorization A = U'*D*U or A = L*D*L' computed by CPTTRF
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CPTTS2( IUPLO, N, NRHS, D, E, B, LDB )
  14.  
  15.          INTEGER        IUPLO, LDB, N, NRHS
  16.  
  17.          REAL           D( * )
  18.  
  19.          COMPLEX        B( LDB, * ), E( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      CPTTS2 solves a tridiagonal system of the form A * X = B using the
  36.      factorization A = U'*D*U or A = L*D*L' computed by CPTTRF. D is a
  37.      diagonal matrix specified in the vector D, U (or L) is a unit bidiagonal
  38.      matrix whose superdiagonal (subdiagonal) is specified in the vector E,
  39.      and X and B are N by NRHS matrices.
  40.  
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      IUPLO   (input) INTEGER
  44.              Specifies the form of the factorization and whether the vector E
  45.              is the superdiagonal of the upper bidiagonal factor U or the
  46.              subdiagonal of the lower bidiagonal factor L.  = 1:  A = U'*D*U,
  47.              E is the superdiagonal of U
  48.              = 0:  A = L*D*L', E is the subdiagonal of L
  49.  
  50.      N       (input) INTEGER
  51.              The order of the tridiagonal matrix A.  N >= 0.
  52.  
  53.      NRHS    (input) INTEGER
  54.              The number of right hand sides, i.e., the number of columns of
  55.              the matrix B.  NRHS >= 0.
  56.  
  57.      D       (input) REAL array, dimension (N)
  58.              The n diagonal elements of the diagonal matrix D from the
  59.              factorization A = U'*D*U or A = L*D*L'.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCPPPPTTTTTTTTSSSS2222((((3333SSSS))))                                                          CCCCPPPPTTTTTTTTSSSS2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      E       (input) COMPLEX array, dimension (N-1)
  75.              If IUPLO = 1, the (n-1) superdiagonal elements of the unit
  76.              bidiagonal factor U from the factorization A = U'*D*U.  If IUPLO
  77.              = 0, the (n-1) subdiagonal elements of the unit bidiagonal factor
  78.              L from the factorization A = L*D*L'.
  79.  
  80.      B       (input/output) REAL array, dimension (LDB,NRHS)
  81.              On entry, the right hand side vectors B for the system of linear
  82.              equations.  On exit, the solution vectors, X.
  83.  
  84.      LDB     (input) INTEGER
  85.              The leading dimension of the array B.  LDB >= max(1,N).
  86.  
  87. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  88.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  89.  
  90.      This man page is available only online.
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.